package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "commodity")
public class Commodity implements Serializable {

    @TableId(value ="cid" )
    private Integer cid;

    @TableField(value = "cname")
    private String cname; //商品名

    @TableField(value = "cstart")
    private Integer cstart;  // 商品状态

    @TableField(value = "inventory")
    private Integer inventory;  // 库存
}
